{include file="header.tpl" title="Them moi PAR_TRPRODUCT"}
<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap">&nbsp;</td>
<td align="right" nowrap="nowrap">&nbsp;</td>
<td align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td>{$lbl_SUPTYPE}</td>
     <td colspan="3" style="color:#FF0000">
       <select tabindex="0" name="SUPTYPE" size="1" id="SUPTYPE" style="background:{$colorSUPTYPE}" onchange="kiemtra();">
         <option value=""></option> 
      {foreach from=$cbo_SUPTYPE key=k item=v}  
         <option value="{$k}" {if $k eq $SUPTYPE} selected="selected" {/if} >{$k} - {$v}</option>  
	  {/foreach}     
       </select> 
       * 
       <input type="submit" name="submitSUPTYPE" id="submitSUPTYPE" value="" style="visibility:hidden" /></td></tr>
  <tr>
    <td>{$lbl_SUPID}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input tabindex="1" name="SUPID" id="SUPID" type="text" style="background:{$colorSUPID}" value="{$SUPID}" size="25" maxlength="20" {if $activefield eq 'enabled' } readonly="readOnly"{/if}  onblur="document.getElementById('submitSUPTYPE').click();" onkeypress="return numberOnly(event);" onchange="kiemtra();"/>
      *
        
      <input tabindex="2" type="button" onclick="mywindow = window.open('par_lnsup_id_2.php?name=SUPID', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbankSUPID" id="replacement_binoculars" value="     " />
    </span></td></tr>
  <tr>
    <td nowrap="nowrap">{$lbl_SUPDESC}</td>
    <td colspan="3"><input tabindex="3" name="SUPDESC" id="SUPDESC" type="text" style="background:{$colorSUPDESC}" value="{$SUPDESC}" size="50" maxlength="50" {if $activechange eq 'enabled' } readonly="readOnly"{/if} />
      <span style="color:#FF0000"> </span><span style="color:#FF0000">*</span></td>
    </tr>
   <tr>
    <td nowrap="nowrap">{$lbl_BRNCODE}</td>
    <td colspan="3"><span style="color:#FF0000">
      <select tabindex="4" name="BRNCODE" size="1" id="BRNCODE" style="background:{$colorBRNCODE}" {if $activechange eq 'enabled' } disabled="disabled" {/if} onchange="getBRNCODE();">   
	  <option value=""></option>
      {foreach from=$cbo_BRNCODE key=k item=v}  
        <option value="{$k}" {if $k eq $BRNCODE} selected="selected" {/if} >{$k} - {$v}</option>    
	  {/foreach}    
      </select>
      <input type="hidden" name="tmpBRNCODE" id="tmpBRNCODE" value="{$BRNCODE}" />
    </span></td>
    </tr>
   <tr>
     <td>{$lbl_DEPTCD}</td>
     <td style="color:#FF0000"><select tabindex="5" name="DEPTCD" size="1" id="DEPTCD" style="background:{$colorDEPTCD}" {if $activechange eq 'enabled' } disabled="disabled" {/if} onchange="getDEPTCD();" >  
	 <option value=""></option>
      {foreach from=$cbo_DEPTCD key=k item=v}  
       <option value="{$k}" {if $k eq $DEPTCD} selected="selected" {/if} >{$k} - {$v}</option>     
	  {/foreach}    
     </select>
       <input type="hidden" name="tmpDEPTCD" id="tmpDEPTCD" value="{$DEPTCD}" /></td>
     <td >{$lbl_STATUS}</td>
     <td style="color:#FF0000"><select tabindex="6" name="STATUS" size="1" id="STATUS"  style="background:{$colorSTATUS}">
	 	<option value=""></option>
      {foreach from=$cbo_STATUS_LNSUP key=k item=v}   
       <option value="{$k}" {if $k eq $STATUS} selected="selected" {/if} >{$k} - {$v}</option>     
	  {/foreach}   
     </select>     </td>
   </tr>
   <tr>
     <td>{$lbl_EMPNO}</td>
     <td colspan="3" style="color:#FF0000"><input tabindex="7" name="EMPNO" type="text" id="EMPNO" style="background:{$colorEMPNO}" onkeypress="return numberOnly(event);" value="{$EMPNO}" size="25" maxlength="20" readonly="readOnly"/>
       <input tabindex="8" type="button" onclick="mywindow = window.open('par_lnsup_id.php?name=EMPNO', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank" id="replacement_binoculars" value="     "  {if $activechange eq 'disabled1' } disabled="disabled" {/if}/></td>
     
   </tr>
   
   <tr>
   		<td colspan="4" style="padding-left:0px">
			<div id="all_EMPN" {$desible_EMPN} >
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
					 <td width="21%">{$lbl_EMPNO1}</td>
					 <td width="30%" style="color:#FF0000"><input tabindex="9" name="EMPNO1" id="EMPNO1" type="text" style="background:{$colorEMPNO1}" value="{$EMPNO1}" size="25" maxlength="20" onkeyup="getvalue();"onkeypress="return numberOnly(event);" {if $activechange eq 'enabled' } readonly="readOnly"{/if}/>
				      <input tabindex="10" type="button" onclick="mywindow = window.open('par_lnsup_id.php?name=EMPNO1&&chuoi='+'\''+document.getElementById('EMPNO1').value+'\',\''+document.getElementById('EMPNO2').value+'\',\''+document.getElementById('EMPNO3').value+'\',\''+document.getElementById('EMPNO4').value+'\',\''+document.getElementById('EMPNO5').value+'\',\''+document.getElementById('EMPNO6').value+'\',\''+document.getElementById('EMPNO7').value+'\',\''+document.getElementById('EMPNO8').value+'\',\''+document.getElementById('EMPNO9').value+'\'', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank2" id="replacement_binoculars" value="     " {if $activechange eq 'enabled' } disabled="disabled" {/if} /></td>
					 <td width="18%" >{$lbl_EMPNO6}</td>
					 <td width="31%" style="color:#FF0000"><input tabindex="19" name="EMPNO6" id="EMPNO6" type="text" style="background:{$colorEMPNO6}" value="{$EMPNO6}" size="25" maxlength="20" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);" {if $activechange eq 'enabled' } readonly="readOnly"{/if}/>
					  <input tabindex="20" type="button" onclick="mywindow = window.open('par_lnsup_id.php?name=EMPNO6&&chuoi='+'\''+document.getElementById('EMPNO1').value+'\',\''+document.getElementById('EMPNO2').value+'\',\''+document.getElementById('EMPNO3').value+'\',\''+document.getElementById('EMPNO4').value+'\',\''+document.getElementById('EMPNO5').value+'\',\''+document.getElementById('EMPNO6').value+'\',\''+document.getElementById('EMPNO7').value+'\',\''+document.getElementById('EMPNO8').value+'\',\''+document.getElementById('EMPNO9').value+'\'', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank7" id="replacement_binoculars" value="     " {if $activechange eq 'enabled' } disabled="disabled" {/if} /></td>
				   </tr>
				   
				    <tr>
					 <td>{$lbl_EMPNO2}</td>
					 <td style="color:#FF0000"><input tabindex="11" name="EMPNO2" id="EMPNO2" type="text" style="background:{$colorEMPNO2}" value="{$EMPNO2}" size="25" maxlength="20" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);" {if $activechange eq 'enabled' } readonly="readOnly"{/if}/>
					  <input tabindex="12" type="button" onclick="mywindow = window.open('par_lnsup_id.php?name=EMPNO2&&chuoi='+'\''+document.getElementById('EMPNO1').value+'\',\''+document.getElementById('EMPNO2').value+'\',\''+document.getElementById('EMPNO3').value+'\',\''+document.getElementById('EMPNO4').value+'\',\''+document.getElementById('EMPNO5').value+'\',\''+document.getElementById('EMPNO6').value+'\',\''+document.getElementById('EMPNO7').value+'\',\''+document.getElementById('EMPNO8').value+'\',\''+document.getElementById('EMPNO9').value+'\'', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank3" id="replacement_binoculars" value="     "  {if $activechange eq 'enabled' } disabled="disabled" {/if}/></td>
					 <td >{$lbl_EMPNO7}</td>
					 <td style="color:#FF0000"><input tabindex="21" name="EMPNO7" id="EMPNO7" type="text" style="background:{$colorEMPNO7}" value="{$EMPNO7}" size="25" maxlength="20" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);" {if $activechange eq 'enabled' } readonly="readOnly"{/if}/>
						 <input tabindex="22" type="button" onclick="mywindow = window.open('par_lnsup_id.php?name=EMPNO7&&chuoi='+'\''+document.getElementById('EMPNO1').value+'\',\''+document.getElementById('EMPNO2').value+'\',\''+document.getElementById('EMPNO3').value+'\',\''+document.getElementById('EMPNO4').value+'\',\''+document.getElementById('EMPNO5').value+'\',\''+document.getElementById('EMPNO6').value+'\',\''+document.getElementById('EMPNO7').value+'\',\''+document.getElementById('EMPNO8').value+'\',\''+document.getElementById('EMPNO9').value+'\'', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank8" id="replacement_binoculars" value="     "  {if $activechange eq 'enabled' } disabled="disabled" {/if}/></td>
				   </tr>
				   
				   <tr>
					 <td>{$lbl_EMPNO3}</td>
					 <td style="color:#FF0000"><input tabindex="13" name="EMPNO3" id="EMPNO3" type="text" style="background:{$colorEMPNO3}" value="{$EMPNO3}" size="25" maxlength="20" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);" {if $activechange eq 'enabled' } readonly="readOnly"{/if}/>
					  <input tabindex="14" type="button" onclick="mywindow = window.open('par_lnsup_id.php?name=EMPNO3&&chuoi='+'\''+document.getElementById('EMPNO1').value+'\',\''+document.getElementById('EMPNO2').value+'\',\''+document.getElementById('EMPNO3').value+'\',\''+document.getElementById('EMPNO4').value+'\',\''+document.getElementById('EMPNO5').value+'\',\''+document.getElementById('EMPNO6').value+'\',\''+document.getElementById('EMPNO7').value+'\',\''+document.getElementById('EMPNO8').value+'\',\''+document.getElementById('EMPNO9').value+'\'', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank4" id="replacement_binoculars" value="     "  {if $activechange eq 'enabled' } disabled="disabled" {/if}/></td>
					 <td >{$lbl_EMPNO8}</td>
					 <td style="color:#FF0000"><input tabindex="23" name="EMPNO8" id="EMPNO8" type="text" style="background:{$colorEMPNO8}" value="{$EMPNO8}" size="25" maxlength="20" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);" {if $activechange eq 'enabled' } readonly="readOnly"{/if}/>
						 <input tabindex="23" type="button" onclick="mywindow = window.open('par_lnsup_id.php?name=EMPNO8&&chuoi='+'\''+document.getElementById('EMPNO1').value+'\',\''+document.getElementById('EMPNO2').value+'\',\''+document.getElementById('EMPNO3').value+'\',\''+document.getElementById('EMPNO4').value+'\',\''+document.getElementById('EMPNO5').value+'\',\''+document.getElementById('EMPNO6').value+'\',\''+document.getElementById('EMPNO7').value+'\',\''+document.getElementById('EMPNO8').value+'\',\''+document.getElementById('EMPNO9').value+'\'', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank9" id="replacement_binoculars" value="     "  {if $activechange eq 'enabled' } disabled="disabled" {/if}/></td>
				   </tr>
				   
				   <tr>
					 <td>{$lbl_EMPNO4}</td>
					 <td style="color:#FF0000"><input tabindex="15" name="EMPNO4" id="EMPNO4" type="text" style="background:{$colorEMPNO4}" value="{$EMPNO4}" size="25" maxlength="20" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);" {if $activechange eq 'enabled' } readonly="readOnly"{/if}/>
					  <input tabindex="16" type="button" onclick="mywindow = window.open('par_lnsup_id.php?name=EMPNO4&&chuoi='+'\''+document.getElementById('EMPNO1').value+'\',\''+document.getElementById('EMPNO2').value+'\',\''+document.getElementById('EMPNO3').value+'\',\''+document.getElementById('EMPNO4').value+'\',\''+document.getElementById('EMPNO5').value+'\',\''+document.getElementById('EMPNO6').value+'\',\''+document.getElementById('EMPNO7').value+'\',\''+document.getElementById('EMPNO8').value+'\',\''+document.getElementById('EMPNO9').value+'\'', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank5" id="replacement_binoculars" value="     " {if $activechange eq 'enabled' } disabled="disabled" {/if} /></td>
					 <td >{$lbl_EMPNO9}</td>
					 <td style="color:#FF0000"><input tabindex="25" name="EMPNO9" id="EMPNO9" type="text" style="background:{$colorEMPNO9}" value="{$EMPNO9}" size="25" maxlength="20" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);" {if $activechange eq 'enabled' } readonly="readOnly"{/if}/>
					  <input tabindex="26" type="button" onclick="mywindow = window.open('par_lnsup_id.php?name=EMPNO9&&chuoi='+'\''+document.getElementById('EMPNO1').value+'\',\''+document.getElementById('EMPNO2').value+'\',\''+document.getElementById('EMPNO3').value+'\',\''+document.getElementById('EMPNO4').value+'\',\''+document.getElementById('EMPNO5').value+'\',\''+document.getElementById('EMPNO6').value+'\',\''+document.getElementById('EMPNO7').value+'\',\''+document.getElementById('EMPNO8').value+'\',\''+document.getElementById('EMPNO9').value+'\'', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank10" id="replacement_binoculars" value="     " {if $activechange eq 'enabled' } disabled="disabled" {/if}/></td>
				   </tr>
				   
				   <tr>
					 <td >{$lbl_EMPNO5}</td>
					 <td style="color:#FF0000" colspan="3"><input tabindex="17" name="EMPNO5" id="EMPNO5" type="text" style="background:{$colorEMPNO5}" value="{$EMPNO5}" size="25" maxlength="20" onblur="this.value=this.value.toLowerCase();" onkeypress="return numberOnly(event);" {if $activechange eq 'enabled' } readonly="readOnly"{/if}/>
						  <input tabindex="18" type="button" onclick="mywindow = window.open('par_lnsup_id.php?name=EMPNO5&&chuoi='+'\''+document.getElementById('EMPNO1').value+'\',\''+document.getElementById('EMPNO2').value+'\',\''+document.getElementById('EMPNO3').value+'\',\''+document.getElementById('EMPNO4').value+'\',\''+document.getElementById('EMPNO5').value+'\',\''+document.getElementById('EMPNO6').value+'\',\''+document.getElementById('EMPNO7').value+'\',\''+document.getElementById('EMPNO8').value+'\',\''+document.getElementById('EMPNO9').value+'\'', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank6" id="replacement_binoculars" value="     " {if $activechange eq 'enabled' } disabled="disabled" {/if} /></td>
				   </tr>
				   
				</table>
			</div>
		<td>
   </tr>
   
   
<tr>
<td colspan="4"><p>&nbsp;</p><p>&nbsp;</p></td>
</tr>
<tr>
<td colspan="4" align="right">

<input type="submit" onclick="" name="capnhat" value="{$ten_cap_nhat}"  class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"  /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td >
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap">&nbsp;</td>
<td align="right" nowrap="nowrap">&nbsp;</td>
<td align="right" nowrap="nowrap">
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
